import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'

export default defineConfig({
  server:{
    proxy:{
      '/api':{
        target:'https://xxxxxx',
        changeOrigin:true,
        rewrite:path => path.replace(/^\/aou/,'')
      }
    }
  },
  plugins: [vue()]
})
